﻿using DC2010.Objects;
using DC2010.Objects.Base;
using DC2010.Objects.Data;

namespace DC2010.Effects
{
    public class I_UnEquipItem_Effect : EffectLogic
    {
        public I_UnEquipItem_Effect(EffectData ed) : base(ed)
        {

        }

        public override void Instant(BaseObject aInvoker, BaseObject aTarget)
        {
            if (aTarget is CreatureData)
            {
                CreatureData aCreature = (CreatureData)aTarget;
                //aCreature.UnEquipEquip(CarryLocations.RightHand);

                Root.I.Log = "Effect I_UnEquipItem_Effect on: " + aCreature.ShortName;
            }

            base.Instant(aInvoker, aTarget);
        }
    }
}
